package com.linkhub.oms.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.linkhub.oms.common.enums.mp.BoolEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.FieldNameConstants;

/**
 * <p>
 * 订单收货地址表
 * </p>
 *
 * @author echo
 * @since 2024-03-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_order_address")
@ApiModel(value="OrderAddressEntity对象", description="订单收货地址表")
@FieldNameConstants
public class OrderAddressEntity implements Serializable {


    @ApiModelProperty(value = "主键")
    @TableId(value = "Fid", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "系统orderId")
    @TableField("Fsys_order_id")
    private String sysOrderId;

    @ApiModelProperty(value = "收件人")
    @TableField("Fname")
    private String name;

    @ApiModelProperty(value = "电话")
    @TableField("Fphone")
    private String phone;

    @ApiModelProperty(value = "城市")
    @TableField("Fcity")
    private String city;

    @ApiModelProperty(value = "邮编")
    @TableField("Fzip")
    private String zip;

    @ApiModelProperty(value = "省份")
    @TableField("Fprovince")
    private String province;

    @ApiModelProperty(value = "国家")
    @TableField("Fcountry")
    private String country;

    @ApiModelProperty(value = "地址1")
    @TableField("Faddress1")
    private String address1;

    @ApiModelProperty(value = "地址2")
    @TableField("Faddress2")
    private String address2;

    @ApiModelProperty(value = "公司")
    @TableField("Fcompany")
    private String company;

    @ApiModelProperty(value = "国家简码")
    @TableField("Fcountry_code")
    private String countryCode;

    @ApiModelProperty(value = "修改标识：0-否;1-是;")
    @TableField("Fupdate_flag")
    private BoolEnum updateFlag;

    @ApiModelProperty(value = "创建时间")
    @TableField("Fcreated_time")
    private LocalDateTime createdTime;

    @ApiModelProperty(value = "修改时间")
    @TableField("Fupdate_time")
    private LocalDateTime updateTime;


}
